package com.cloud.api.domain.service;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.core.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 杨斌
 * 2025-03-2025-03-10
 */
@Data
@TableName("t_station_contact_history")
@Schema(name = "t_station_contact_history", description = "联系人修改历史表")
public class ContactHistory extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId("id")
    private String id;

    @Schema(description = "公司ID")
    @TableField("service_station_id")
    private String serviceStationId;

    @Schema(description = "原联系人")
    @TableField("old_contact_person")
    private String oldContactPerson;

    @Schema(description = "新联系人")
    @TableField("new_contact_person")
    private String newContactPerson;

    @Schema(description = "原联系电话")
    @TableField("old_contact_phone")
    private String oldContactPhone;

    @Schema(description = "新联系电话")
    @TableField("new_contact_phone")
    private String newContactPhone;

}
